﻿using pub.Interop;

namespace scheduler
{
    internal class App
    {
        public static Scheduler Scheduler { get; set; }

        public static AppSettings Settings { get; set; }

        public static Logger Logger { get; set; }

        public const int WM_SHOW_MAIN_FORM = Win32.WM_USER + 24;

        public static MainForm MainForm { get; set; }

        public static MessageSinkWindow MessageSinkWindow { get; set; }

        public static string Title { get; private set; }

        public static void Initialize()
        {
            Settings = new AppSettings();
            Scheduler = new Scheduler();
            Logger = new Logger();
            MessageSinkWindow = new MessageSinkWindow();
            Title = "Todo Scheduler";
        }
    }
}